// util.hpp

#include <iostream>
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>

#ifndef UTIL_HPP_
#define UTIL_HPP_

void log_entry(const char *text);
std::string get_homedir();
std::string get_confdir();
void create_confdir();
void parse_arguments (int argc, char *argv[]);
SDL_Surface *load_image(std::string filename);
void apply_surface(int x, int y, SDL_Surface *source, SDL_Surface *destination);

#endif
